package com.twu.bean;

import static com.twu.bean.Movie.SPACE_MARKER;

public class User
{

	private String username;
	private String password;
	private String name;
	private String email;
	private String phone;

	public User(String username, String password)
	{
		this.username = username;
		this.password = password;
	}

	public void setInfo(String name, String email, String phone)
	{
		this.name = name;
		this.email = email;
		this.phone = phone;
	}

	public String getUsername()
	{
		return username;
	}

	public String getPassword()
	{
		return password;
	}

	@Override
	public String toString()
	{
		return name + SPACE_MARKER + email + SPACE_MARKER + phone;
	}
}
